package com.atguigu.staservice.client;

import com.atguigu.commonutils.R;
import com.atguigu.commonutils.vo.CommonCourseInfoVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@Component
@FeignClient("ucenter-service")
public interface UcenterClient {

    @GetMapping(value = "educenter/countregister/{day}")//day格式:2020-04-27
    public R registerCount(@PathVariable String day);
}